<div class="container">
    <div class="span-15">
      <% if @my_groups.empty? %>
            <b>Niste uclanjeni u nijednu grupu :(</b>
      <% end %>
        <% if @feeds.empty? %>
            <b>Nema novosti :(</b>
        <% else %>
          <% @feeds.each do |feed| @feed = feed %>
            <%= render 'feed_item' %>
          <% end %>
        <% end %>
    </div>
    <div class="prepend-1 span-8 last">
        <% if current_member.photo? %>
          <%= image_tag current_member.photo.url, :class => "avatar profile" %>
        <% else %>
          <%= image_tag('avatars/default.png', :class => "profile")%>
        <% end %>

        <h1 class="profile"><%= current_member.username %></h1>
          <div class='admin_links'>
            <%= link_to "Uredi profil", edit_member_path(current_member.id) %>
          </div>
          <div style="clear:both;"></div>
          <%= render 'my_groups' %>
    </div>
</div>
